package ace.module.common.api.model.input;

import ace.module.common.api.constant.SystemRoleConstants;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * 平台管理者租户通用分页入参.
 *
 * @author Caspar
 */
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class AppTypeInput<T> extends GenericInput<T> {


  /**
   * {@link SystemRoleConstants}
   */
  @NotEmpty
  @Schema(title = "应用类型", description = "可选项：default、member、merchant、tenant、admin")
  private String type;

}
